package com.manage.user.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.manage.base.dao.impl.BaseDaoImpl;
import com.manage.user.dao.IUserDao;
import com.manage.user.model.Menu;
import com.manage.user.model.Operation;
import com.manage.user.model.User;

@Repository("userDao")
public class UserDaoImpl extends BaseDaoImpl<User> implements
    IUserDao {

	@Override
	public List<Menu> menuSelect(User user) {
		return getSqlSession().selectList("UserMapper.menuSelect", user);
	}

	@Override
	public List<Operation> operationSelect(User user) {
		return getSqlSession().selectList("UserMapper.operationSelect", user);
	}

}
